package com.ruoyi.admin.domain.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.admin.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;


/**
 * 库存(Inventory) 实体类
 *
 * @author jianhan
 * @version V1.0
 * @date 2022-12-07 15:41:38
 */

@Data
@TableName("tb_inventory")
public class InventoryModel extends BaseEntity {


    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(hidden = true)
    private Long id;

    /**
     * 品牌id
     */
    @ApiModelProperty(hidden = true)
    private Long atricleId;

    /**
     * 客户供应商id
     */
    @ApiModelProperty(hidden = true)
    private Long supplierId;

    /**
     * 品牌名称
     */
    @ApiModelProperty(hidden = true)
    private String brand;

    /**
     * 货号
     */
    @ApiModelProperty(hidden = true)
    private String atricleNumber;

    /**
     * 码数
     */
    @ApiModelProperty(hidden = true)
    private String size;

    /**
     * 库存数量
     */
    @ApiModelProperty(hidden = true)
    private Long number;

    /**
     * 总价
     */
    @ApiModelProperty(hidden = true)
    private BigDecimal totalPrice;

    /**
     * 平均单价
     */
    @ApiModelProperty(hidden = true)
    private BigDecimal price;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @ApiModelProperty(hidden = true)
    private Boolean delFlag;

    /**
     * 备注
     */
    @ApiModelProperty(hidden = true)
    private String remark;

}
